<nz-spin [nzSpinning]="loading">
  <h4 class="card__title mb-md">
    <span>{{title}} <i nz-tooltip [nzTooltipTitle]="'一个条码只计算一次'" style="cursor: pointer; color: gray" nz-icon nzType="info-circle"
      nzTheme="outline"></i></span>
  </h4>
  <nz-skeleton *ngIf="loading"></nz-skeleton>
  <div nz-row nzGutter="16">
    <div nz-col nzSpan="24">
      <g2-custom *ngIf="!loading" (render)="render($event)">
      </g2-custom>
    </div>
  </div>
  <div class="card__time" [ngStyle]="{ visibility: time ? 'visible' : 'hidden' }">更新于: {{ time | _date }}</div>
</nz-spin>
